package com.summer.framework.common.exception.admin;

import com.summer.framework.common.enums.ErrorStatus;
import com.summer.framework.common.exception.NotFoundException;

/**
 * @auther: 杨杰
 * @date: 2019/1/14 10:27
 * @description:
 */
public class UserNameNotFoundException extends NotFoundException {

    public UserNameNotFoundException(String username) {
        super(ErrorStatus.USER_NAME_NOT_FOUND.getStatus(), "用户名" + username + "不存在");
    }
}
